<template>
    <view class="return-order-item">
        <view @click="selProject">
            <view class="header">
                <view class="tip">
                    <view class="yuan"><iconsfont customIcons="icon-qizi" color="#fff" size="28"></iconsfont></view>
                    <view>订单编号：{{ data.Sn }}</view>
                </view>
                <!-- <view class="status">待审核</view> -->
            </view>
            <view class="desc">
                <view>收货人：{{ data.OrderContactName }}</view>
                <view>联系方式：{{ data.OrderContactTel }}</view>
                <view>下单时间：{{ data.AddTime }}</view>
                <view>配送方式：{{ data.PostTypeName }}</view>
                <view
                    >收货地址：{{ data.ProvinceName }}{{ data.CityName }}{{ data.AreaName }}{{ data.StreetName
                    }}{{ data.ContactAddress }}</view
                >
            </view>
        </view>
    </view>
</template>

<script>
export default {
    props: ["data"],
    data() {
        return {}
    },
    methods: {
        selProject() {
            this.$emit("selProject", this.data)
        },
    },
}
</script>

<style lang="scss">
@import "style/orderItem.scss";
.return-order-item {
    display: flex;
    flex-direction: column;
    padding: 0 $app-page-padding;
    background: $color-white;
    margin: 24rpx;
    border-radius: 16rpx;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40rpx;
    padding-bottom: 26rpx;
    .tip {
        display: flex;
        font-size: 32rpx;
        color: #333;
        font-weight: bold;
        .yuan {
            width: 40rpx;
            height: 40rpx;
            background: $app-color-main;
            border-radius: 8rpx;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 16rpx;
        }
    }
    .status {
        font-size: 28rpx;
        color: #f7b500;
    }
}
.desc {
    padding-bottom: 12rpx;
    view {
        font-size: 24rpx;
        color: #333333;
        padding-bottom: 12rpx;
    }
}
.see {
    border-top: 1rpx solid #f0f0f0;
    display: flex;
    height: 82rpx;
    justify-content: space-between;
    align-items: center;
    font-size: 24rpx;
    color: #666666;
}
</style>
